package mx.messaging.messages;

extern class CommandMessage extends AsyncMessage {
	var operation : UInt;
	function new() : Void;
	static var ADD_SUBSCRIPTIONS : String;
	static var AUTHENTICATION_MESSAGE_REF_TYPE : String;
	static var CLIENT_PING_OPERATION : UInt;
	static var CLIENT_SYNC_OPERATION : UInt;
	static var CLUSTER_REQUEST_OPERATION : UInt;
	static var CREDENTIALS_CHARSET_HEADER : String;
	static var DISCONNECT_OPERATION : UInt;
	static var LOGIN_OPERATION : UInt;
	static var LOGOUT_OPERATION : UInt;
	static var MESSAGING_VERSION : String;
	static var MULTI_SUBSCRIBE_OPERATION : UInt;
	static var NEEDS_CONFIG_HEADER : String;
	static var NO_OP_POLL_HEADER : String;
	static var POLL_OPERATION : UInt;
	static var POLL_WAIT_HEADER : String;
	static var PRESERVE_DURABLE_HEADER : String;
	static var REMOVE_SUBSCRIPTIONS : String;
	static var SELECTOR_HEADER : String;
	static var SUBSCRIBE_OPERATION : UInt;
	static var SUBSCRIPTION_INVALIDATE_OPERATION : UInt;
	static var SUBTOPIC_SEPARATOR : String;
	static var UNKNOWN_OPERATION : UInt;
	static var UNSUBSCRIBE_OPERATION : UInt;
	static function getOperationAsString(op : UInt) : String;
}
